package misc;

public enum NetworkClass {
	
	A (8, 24),
	B (16, 16),
	C (24, 8);
	
	private int m_NetworkAddressPortion;
	private int m_HostAddressPortion;
	
	NetworkClass(int networkAddressPortion, int hostAddressPortion) {
		m_NetworkAddressPortion = networkAddressPortion;
		m_HostAddressPortion = hostAddressPortion;
	}
	
	public int getNetworkAddressPortion() {
		return m_NetworkAddressPortion;
	}
	
	public int getHostAddressPortion() {
		return m_HostAddressPortion;
	}
}
